from pymouse import *
from pykeyboard import *
import time

m = PyMouse()
k = PyKeyboard()


def clc(ix, iy):
    x = int(ix / 2)
    y = int(iy / 2)
    m.click(x, y, 1, 1)


jlx = 340
jrx = 650
jy = 320

sx = 440
sy = 1450

times = 0
while 1 == 1:
    times += 1
    clc(jlx, jy)
    time.sleep(1)
    clc(jrx, jy)
    time.sleep(1)
    clc(sx, sy)
    time.sleep(1)
    if times == 10:
        time.sleep(4)
        times = 0
